<?php
/*
 *  FireFly theme
 *  Sidebar template
 *  (c) 2011, chugylo
 */
?>
   <div id="sidebar">
        <div class="sidebar-box" id="search">
            <h3><?php _e('Search', 'firefly'); ?></h3>
            <?php get_search_form(); ?>
        </div><!--search-->
        <div class="sidebar-box" id="categories">
            <h3><?php _e('Categories', 'firefly'); ?></h3>
            <ul>
                <?php wp_list_categories(array('show_count'=>true, 'title_li'=>false)); ?>
            </ul>
        </div>
        <div class="sidebar-box" id="tags">
            <h3><?php _e('Tag cloud', 'firefly'); ?></h3>

                <?php wp_tag_cloud(array('smallest'=>0.5, 'largest'=>2, 'unit'=>'em')); ?>

        </div>
        <div class="sidebar-box" id="archives">
            <h3><?php _e('Archives', 'firefly'); ?></h3>
            <ul>
                <?php wp_get_archives(array('show_post_count'=>true)); ?>
            </ul>
        </div>
        <?php
            if (use_sidebar_boxes_insertion())
                load_template(get_template_directory() .'/insertions/sidebar_boxes.php');
        ?>
    </div><!--end sidebar-->
